package com.example.gzysmartcity.viewmodel;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

public class MainViewModel extends ViewModel {
    private final MutableLiveData<Boolean> liveData = new MutableLiveData<>();

    public LiveData<Boolean> getLiveData() {
        return liveData;
    }

    public void showBottom(boolean b) {
        liveData.setValue(b);
    }
}
